home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
GRPHRMSG.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
306 b
|
12 lines
/* grapherrormsg */
#include <stdio.h>
#include <graphics.h>
main()
{
int graphdriver = DETECT,graphmode,errorcode;
/* Generate an error by calling initgraph with wrong pathname
for device drivers */
initgraph(&graphdriver,&graphmode,"c:\\");
printf(grapherrormsg(graphresult()));
}